<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>学习jQuery</title>
		<script src="/js/jquery.js"></script>
	</head>
	<body>
		<div>在嘛</div>
		<div>约嘛</div>
		<div>不约</div>
	</body>
	
	<script>
		var divs = $("div");
		for(var i = 0; i < divs.length; i++) {
			alert(divs[i].innerHTML);
		}
	</script>
	
</html>